// 此文件只处理覆盖Vant样式的内容
// 下面的区域是未来规划的标准化颜色变量区域
.van-hairline--top-bottom:after,
.van-hairline-unset--top-bottom:after {
  border-width: 0;
}

:root {
  --van-nav-bar-height: 52px;
  --van-field-text-area-min-height: 120px;
}

html[data-theme="light"] {
  // 统一修改的Vant组件样式

  // --van-cell-background-color: #fff;
  // --van-cell-border-color: #eaeaea;
  // vant button样式设置
  --van-button-primary-border-color: var(--background-color-1);
  --van-button-primary-color: #fff;
  --van-button-primary-background-color: var(--button-bg-color-1);
  // vant tabbar样式设置
  --van-tabbar-item-text-color: #111;
  --van-tabbar-item-active-color: var(--background-color-1);
  // vant tab样式设置
  --van-tab-text-color: #111;
  --van-tab-active-text-color: #111;
  --van-tabs-bottom-bar-color: #22d59c;

  // vant navbar样式设置
  --van-nav-bar-background-color: var(--background-color-std-1);
  --van-nav-bar-title-text-color: var(--font-color-std-1);
  --van-nav-bar-text-color: #111;
  --van-nav-bar-icon-color: #111;
}

html[data-theme="dark"] {
  // vant button样式设置
  --van-button-primary-color: #fff;
  --van-button-primary-background-color: var(--button-bg-color-1);
  --van-button-primary-border-color: #d4af71;
  // vant popup样式设置
  --van-popup-background-color: #111;
  // vant toast样式设置
  --van-toast-background-color: #111;
  --van-toast-text-color: #d4af71;
  // vant tabbar样式设置
  --van-tabbar-item-active-background-color: #222;
  --van-tabbar-background-color: #222;
  --van-tabbar-item-text-color: #fff;
  --van-tabbar-item-active-color: #d4af71;
  // vant switch样式设置
  --van-switch-node-background-color: #111;
  --van-switch-on-background-color: #d4af71;
  // vant cell样式设置
  --van-cell-border-color: #d4af71;
  --van-cell-text-color: #d4af71;
  --van-cell-right-icon-color: #d4af71;
  --van-cell-background-color: #222;
  --van-cell-group-background-color: #222;
  // vant navbar样式设置
  --van-nav-bar-background-color: var(--background-color-std-1);
  --van-nav-bar-title-text-color: var(--font-color-std-1);
  --van-nav-bar-text-color: #d4af71;
  --van-nav-bar-icon-color: #d4af71;
  // vant search样式设置
  --van-search-background-color: var(--background-color-std-3);
  // vant tab样式设置
  --van-tabs-nav-background-color: #111;
  --van-tab-text-color: #666;
  --van-tab-active-text-color: #d4af71;
  --van-tabs-bottom-bar-color: #d4af71;

  // vant field样式设置
  --van-field-input-text-color: red;
}
